
using Microsoft.Extensions.DependencyInjection;
using Platform.Core.Config;
using Platform.Hardware.ControlCard.Base;

namespace Platform.Hardware.ControlCard.Zmotion
{
    public static class ControlCardZmotionModule
    {
        public static void InitControlCardZmotionModule(this ServiceCollection services)
        {
            if (!ConfigManager.NoHardwareMode)
            {
                services.AddSingleton<IControlCard, ControlCardZmotion>();

            }
        }
    }

}
